SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ba6e87f6483edc1471080f97f7b8c22a5ee7c1615b2a380840b28318a0b1e04c' 
  AND token = 'uvTI5jdruAwn1sL9RvNMHytCpJbox5GEOiwNWV/qW48=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00055

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}