SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'af8172edbe09b3012574f67f6bf1ae90b863d64d6d570ef0f25ba16a8cdbcc58' 
  AND token = 'bUpxnvr8wS62knPWEUEDBj6W8X5dXL4Br/RKlZHMaS8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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