SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '01e25c8bffd4a95aa5c85cfc7c7f556a55b456d023eecc013d82884ba5506b2e' 
  AND token = 'IrOQsQRna0uFax7C+EY84YXmzHdd3MFXD3CQNHpClPo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

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