SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'af45697f9db03b1db65490e366c3f49f700b9c9f5e74a310fe13595e63473840' 
  AND token = 'ZcEQ/R29NDp0Gdsn6ak36IqrztievJgihO3SIxeFR2k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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