SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '30f04a0a8c2fdd3d8cc9e348e0abdb8c53531a41ad93e75e01b0ad9ca574cb5d' 
  AND token = 'zmEdsj3lLRzHpMAOOrbAhc4ro/b5Xoo2OxnRCvL6YyQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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