SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e8cffecdc96701f00adba4b9dfd0130f3253c64e892a2f045bcca9bf405deb05' 
  AND token = 'uO637BNVM3SrwPdQe/K9SUk18+l+JSGy+2uUltJDz48=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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