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

Query time 0.00024

JSON explain

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