SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '20aa4e414414733334c5b0299ab5bc3678a8bfcfd4feada32b16d0b36c3b5fe1' 
  AND token = 'eWi1N8jGx+jPhxEmofgJgigFK7nP6Lmpp03SWesa2wY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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