SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '51f8e342a6901323e0b15cb48d190bee05469c7b8ac596b62a0fef845810835c' 
  AND token = 'wZWcBweQlmOa4+++Fow6btfXBnJugtBoPk6fS1/DzPM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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