SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7f8ca27a8d831cc422b8218be2caf6e80f6f1182fa773460ce928a142f1e311d' 
  AND token = 'mW+mcDAMkot1v+mAhvjbYgmqHV2Y6WaXal1h4BnuYjc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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