SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c2274cbc28e6dd88023829ba36c0634ff5b7491c2422f95f411d96a0c273ab2a' 
  AND token = 'qD2T2cI9/TGQhi6R1F4XeKfcmR5mao+4F4VVMdJes6I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00013

JSON explain

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