SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dc4c95d5df08eed2d35b111117f80523602ad26635ad1b4506020dfc3849dd47' 
  AND token = 'C2oYPQ4PpHoOSUZBFDlNwj3Wr5gOpv3YuvrbgfjcOaQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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