SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c4d31772ead879ebfbcdbdf3727701271b1f6883d6773f4ab8d876a032e06fa3' 
  AND token = 'Goow9/dPibY4DMfcyPwmPTxf5ms6K4kaIZ872eIRbvA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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