SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '177a4a6d1515c5d07e69266e3aa32ff4c71f17621dbc65c2441591b02752d6aa' 
  AND token = 'pEeSaMSxafDuqmJPQ9mDk/s4VE2UA4M9PQuReQa/eDw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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