SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b5ec68e920eac5fcb595466ffc094319f6b977cd19d1baa59f19ca7be9b50bba' 
  AND token = 'H9gFmwd21zPhCJFULE8iXQ0+/JvogSrLQmeX6shdKDM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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