SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a27cb28a68d914bc4c26f7a1fce5c6e4df6b301641a012f48b601d65954cc197' 
  AND token = 'aP6PapcykTyReIEQxpxu8j9VO83V6bp/g8+/RhEZjw4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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