SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e778ba9c05a2cd987a650718cc260ac478a6a52dd0a77b7af5fe687dc8a07a61' 
  AND token = '3D41BEp3OE/Ir4ZMU4yC1o4ERlAejT6W3ueTlhEY+ZI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

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