SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '30a46a122fe79fe55612780c2f41c870d3bfed3a838828df72369393be81e829' 
  AND token = 'UdM5NM/iyxlTzbfRomAbdHYi2UzwCUsEP+u0Ej+w9r8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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