SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5fb40086fa58bc62d54143fb197c84044015901a10a214dcac4b15fdfdb1da19' 
  AND token = '2mQZ4OV3Rsbc5QPcoZqsiQ6YhF9eLYKed9JleHj7td0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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