SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '396d9b17b7ca73d411bec1acd66479cd45efe3ba3d94352c81e1b6c8717be593' 
  AND token = 'Z4iT/U8b5ql8Qb6ZB0By8S3odroLcpgfd0PqnSyahsg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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