SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '12bef256dab082a2ff91e8634bee59d360a05e55feb4ef2298e90c980507483a' 
  AND token = 'ozAX+eHlG5//yztw61589xzsprJccDvJIYuQ+i6BTAI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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