SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c04fa3317eab0fc1f40cd5330e66c966ce4dd299626b9655895cfa9b34a1082e' 
  AND token = 'GxJm8AcnpLxC2+2otAMM7jkHj5vrSYcga9DJKD1RgDo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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