SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'aae22a03e6ffb8756c9363ab0f12a25a27dedc4d64cf7fc94aaeec0806f97339' 
  AND token = 'q/cvFVdi7VrvmEaTo7sQortqwTb2tAHP3Hdm0yc6ydA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00064

JSON explain

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