SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b796298dee19c9382ef70dfdc3c1498198146a34d9ad5e3abb87f537e2747264' 
  AND token = 'pQ0mcubsDsuPtVRM5kih9VeI9g+0mETIxq/sad0uJwk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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