SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3ccc3eda2d2a135a4c57eda36253967f039f1c9ec21b1b297cb53a5d8765a8bb' 
  AND token = 'yjG1vhzDPiLDIqQbnRXr2+ksO+QiF3jgbJKRMeQJs2c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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